package example.demo.dp3;

public abstract class Template {

    public void refresh() {
        a();
        b();
        c();
        d();
    }

    public void a() {
        System.out.println("第一步---a");
    }

    public void d() {
        System.out.println("第四步---d");
    }

    public abstract void c();

    public void b() {
        System.out.println("第二步---b");
    }

}
